package com.hzdl.hotel.bean;

import lombok.*;

import java.io.Serializable;

public class Administer implements Serializable {
    private Integer id;
    private String loginName;
    private String pwd;
    private String realName;
    private Integer sex;
    private Integer type;
    private Integer available;
    private String telephone;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "Administer{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", realName='" + realName + '\'' +
                ", sex=" + sex +
                ", type=" + type +
                ", available=" + available +
                ", telephone='" + telephone + '\'' +
                '}';
    }

    public Administer() {
    }

    public Administer(Integer id, String loginName, String pwd, String realName, Integer sex, Integer type, Integer available, String telephone) {
        this.id = id;
        this.loginName = loginName;
        this.pwd = pwd;
        this.realName = realName;
        this.sex = sex;
        this.type = type;
        this.available = available;
        this.telephone = telephone;
    }
}
